package com.wuge.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "threadpool")
@Data
public class ThreadPoolPropertits {
    private Integer coresize;
    private Integer maxsize;
    private Long waitTime;
}
